﻿<ul class="layui-nav layui-nav-tree" lay-filter="">
    <li class="layui-nav-item layui-nav-itemed">
        <a href="javascript:;"><i class="layui-icon  layui-icon-notice"></i> 消息管理</a>
        <dl class="layui-nav-child">
            @if (await Authorizer.AuthView(PermissionKeys.Notice_AddOrEdit))
            {
                <dd><a href="javascript:;" onclick="loadMain('/Admin/Notice/AddOrEdit')"><i class="layui-icon layui-icon-email cxuu-list-ico"></i> 写信</a></dd>
            }
            @if (await Authorizer.AuthView(PermissionKeys.Notice_Index))
            {
                <dd><a href="javascript:;" onclick="loadMain('/Admin/Notice/Index')"><i class="layui-icon layui-icon-cols cxuu-list-ico"></i> 已收信</a></dd>
                <dd><a href="javascript:;" onclick="loadMain('/Admin/Notice/Index?viewpost=1')"><i class="layui-icon layui-icon-export cxuu-list-ico"></i> 已发送</a></dd>
            }
        </dl>
    </li>
</ul>
